iT邦幫忙

2024 iThome 鐵人賽

DAY 8
0
生成式 AI

(A)ㄟ你啥時要換大頭貼ㄞ(I)系列 第 8

DAY8 : 如何下載checkpoint與LORA模型

  • 分享至 

  • xImage
  •  

Linux環境來操作

首先可以先去這個平台找自己需要用的模型
https://civitai.com/
然後下載以scp方式來傳送到相對應的linux服務可以使用,

scp 檔案位置和名稱 使用指名字與ip和檔案位置
scp Desktop/512-inpainting-ema.safetensors user@10.20.1.95:/home/ubuntu/stable-diffusion-webui/models/Stable-diffusion
cd ./stable-diffusion-webui 

https://ithelp.ithome.com.tw/upload/images/20240917/20161432rcSrVDgEPT.png

ls #查看所有檔案

https://ithelp.ithome.com.tw/upload/images/20240917/201614326bp6o3nYgy.png

cd ./models 
ls #查看所有檔案

https://ithelp.ithome.com.tw/upload/images/20240917/20161432xNU8la6I9H.png

cd ./Stable-diffuison
ls #查看所有models

https://ithelp.ithome.com.tw/upload/images/20240917/20161432AFnD6OSkUL.png
至於下載LORA也是一樣的方式:

cd.. #跳到上一層資料夾
cd ./Lora#切到對應檔案裏面

https://ithelp.ithome.com.tw/upload/images/20240917/20161432umbNkqmFlz.png
最後一樣使用scp方式來傳送模型


上一篇
DAY7 : 如何下prompt和技巧
下一篇
DAY9 : 如何去背景與換背景
系列文
(A)ㄟ你啥時要換大頭貼ㄞ(I)20
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言